import { Injectable,OnModuleInit } from '@nestjs/common';

@Injectable()
export class AppService implements OnModuleInit{
  private startTime: Date;

  getHello(): string {
    return 'Hello World!';
  }

  onModuleInit() {
    this.startTime = new Date();
  }

  getStartTime(): Date {
    return this.startTime;
  }
}
